You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running npm run lint shows that the "Root .js files only" Config Item is
not active for src/main.js because it trips the no-constant-condition rule: error Unexpected constant condition no-constant-condition
Note: This only appears after the src/main.js file was matched by another Config Item (in this case the 'All .js files' one)
Tested on Windows 11, MacOS Sonoma 14.4.1 with Node v20.11.0
The text was updated successfully, but these errors were encountered:
Config Inspector shows that
*.js
matchessrc/main.js
Repo to reproduce the issue:
https://github.com/CloudNStoyan/eslint-config-inspect-filepath-issue
Running
npm run lint
shows that the "Root .js files only" Config Item isnot active for
src/main.js
because it trips theno-constant-condition
rule:error Unexpected constant condition no-constant-condition
Note: This only appears after the
src/main.js
file was matched by another Config Item (in this case the 'All .js files' one)Tested on Windows 11, MacOS Sonoma 14.4.1 with Node v20.11.0
The text was updated successfully, but these errors were encountered: